package com.zhentao.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@ApiModel(description = "注册请求参数")
public class RegisterVO {
    @ApiModelProperty(value = "用户名", required = true, example = "zhangsan")
    private String username;
    
    @ApiModelProperty(value = "密码", required = true, example = "123456")
    private String password;
    
    @ApiModelProperty(value = "姓名", required = true, example = "张三")
    private String name;
    
    @ApiModelProperty(value = "手机号", required = true, example = "13800138000")
    private String phone;

    @ApiModelProperty(value = "角色ID(1:管理员 2:普通用户)", required = true, example = "2", allowableValues = "1,2")
    private Long rid;
} 